<template>
  <el-dialog
      width="95%"
      title="表格预览"
      v-model="dialogVisible"
      append-to-body>
    <avue-crud :option="option" :data="dataSource">
    </avue-crud>
  </el-dialog>
</template>

<script>
export default {
  name: "actFormDataTable",
  data() {
    return {
      dialogVisible: false,
      dataSource: [],
      option: {}
    }
  },
  methods: {
    show(option) {
      this.option = option;
      this.dialogVisible = true
    },
    onClose() {
      this.option = {};
    }
  }
}
</script>

<style scoped>

</style>
